package com.black.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.black.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 岗位信息表
 *
 * @author L
 * @TableName sys_post
 */
@TableName(value = "sys_post")
@Data
public class SysPost extends BaseEntity implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 岗位ID
     */
    @TableId(type = IdType.AUTO)
    private Long postId;
    /**
     * 岗位编码
     */
    private String postCode;
    /**
     * 岗位名称
     */
    private String postName;
    /**
     * 显示顺序
     */
    private Integer postSort;
    /**
     * 状态（0正常 1停用）
     */
    private String status;
}